#ifndef __SOCKET_H__
#define __SOCKET_H__

#include "NonCopyable.h"

namespace myNameSpace {
class Socket: NonCopyable {
public:
    Socket();
    explicit Socket(int fd);
    ~Socket();
    int getFd() const;
    void shutdownWrite();

private:
    int _fd;
};
} // end of namespace myNameSpace

#endif
